<? php 
$status=intval($_GET['status']);
$link = mysql_connect('cash2uca.ipagemysql.com', 'cash2uca', 'actW3740!@#$'); 
	if (!$link) { 
	    die('Could not connect: ' . mysql_error()); 
		} 
		mysql_select_db(cash2uca);
		$strSQL = "SELECT * FROM Applications WHERE NewApp=".$status." ORDER BY AccountID";
		$rs = mysql_query($strSQL);
?>

<select name="accountid" onchange="getInformation(<? php =$status ?>,this.value)">
<option value=0>Select AccountID</option>
<? php 
while($r = mysql_fetch_array($rs)) { ?>
<option value=<? php =$r['AccountID']?>><?=$r['AccountID'] ?></option>
<? php } 
?>
</select>






































